package com.indexingsystem.system.service;

import java.util.List;

import com.indexingsystem.boss.Vo.WebsitesVo;
import com.indexingsystem.boss.entity.Websites;

public interface IWebsitesService {
	
	/**
	 * 通过站点Id获取站点信息
	 * @param ids
	 * @return
	 */
	Websites getWebsites(Integer siteType);
	
	/**
	 * 通过站点Id获取产品介绍
	 * @param id
	 * @return
	 */
	String getDescription(String id);
	
	/**
	 * 通过站点Id获取信息'关于我们'
	 * @param id
	 * @return
	 */
	String getAboutUs(String id);
	
	/**
	 * 通过站点Id获取信息'联系我们'
	 * @param id
	 * @return
	 */
	String getContactUs(String id);
	
	int deleteByPrimaryKey(String id) throws Exception;

	int deleteWebsitesByIdBatch(List<String> list) throws Exception;

	int insert(Websites record) throws Exception;

	int insertSelective(Websites record) throws Exception;

	Websites selectByPrimaryKey(String id);

	List<Websites> selectWebsitesList(WebsitesVo record);

	int updateByPrimaryKeySelective(Websites record) throws Exception;

	/**
	 * 通过web站点类型获取站点配置信息.
	 * 
	 * @param siteType
	 * @return
	 */
	Websites getWebsitesBywebsitesType(int siteType);
}